package com.idealighter.game.server.db.datadb.mapper;

import com.idealighter.game.server.db.datadb.generate.mapper.RoomCardPlayerRoundCountDomainMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface RoomCardPlayerRoundCountMapper extends RoomCardPlayerRoundCountDomainMapper {
  @Update("update room_card_player_round_count set count = count + #{num} " //
      + "where player_id = #{groupId}")
  int increasePlayerRoundCount(@Param("playerId") long playerId, @Param("num") int num);
}
